package com.cyan.app.workflow.bean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by DXW on 2015/11/24.
 */
public class MannoBean  {
    private String Manno;
    private int Manqty;
    private String Prosscode;
    private String NextProsscode;
    private String NextProssname;
    private boolean IsSelected;

    public boolean isSelected() {
        return IsSelected;
    }

    public void setIsSelected(boolean isSelected) {
        IsSelected = isSelected;
    }

    public String getProsscode() {
        return Prosscode;
    }

    public void setProsscode(String prosscode) {
        Prosscode = prosscode;
    }
    public String getNextProsscode() {
        return NextProsscode;
    }

    public void setNextProsscode(String nextprosscode) {
        NextProsscode = nextprosscode;
    }
    public String getNextProssname() {
        return NextProssname;
    }

    public void setNextProssname(String prossname) {
        NextProssname = prossname;
    }

    public int getManqty() {
        return Manqty;
    }

    public void setManqty(int manqty) {
        Manqty = manqty;
    }

    public String getManno() {
        return Manno;
    }

    public void setManno(String manno) {
        Manno = manno;
    }

    public JSONObject toJSON() throws JSONException {
        JSONObject json = new JSONObject();
        json.put("Manno", Manno);
        json.put("Manqty",String.valueOf(Manqty));
        json.put("Prosscode", Prosscode);
        json.put("NextProsscode", NextProsscode);
        json.put("NextProssname", NextProssname);
        return json;
    }
}
